package org.curiouscreature.android.shelves.util;

import android.os.Handler;
import android.os.Looper;
import android.os.Message; 

public class MessageHandler extends Handler { 
	
	public MessageHandler(Looper looper) {  
		  
		 super(looper);  
	  
	}  
  
    @Override  

    public void handleMessage(Message msg) {   
    	 
        ((HandlerMission)msg.obj).exec();  

    }  
    
    public interface HandlerMission{
		public void exec();
	}
}
